package com.woniuxy.gobang84.entity;

/**
 * 对战记录实体类
 *
 * @author 老谭 (<a href="http://www.woniuxy.com">蜗牛学苑</a>)
 *
 */
public class Record {
	private int id;
	private String black; // 黑棋账号
	private String white; // 白棋账号
	private String chessTime;// 对战时间
	private int result;// 对战结果

	public static final int BLACK_WIN = 1; // 黑胜
	public static final int WHITE_WIN = 2;// 白胜
	public static final int DRAW = 3;// 和棋

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getBlack() {
		return black;
	}

	public void setBlack(String black) {
		this.black = black;
	}

	public String getWhite() {
		return white;
	}

	public void setWhite(String white) {
		this.white = white;
	}

	public String getChessTime() {
		return chessTime;
	}

	public void setChessTime(String chessTime) {
		this.chessTime = chessTime;
	}

	public int getResult() {
		return result;
	}

	public void setResult(int result) {
		this.result = result;
	}
}
